﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Panel.Master" Inherits="System.Web.Mvc.ViewPage<Prodma.DataAccess.Models.ViewModels.UrunlerVm>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	ProductDetail
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
<link rel="stylesheet" href="../../Styles/ProductDetail.css" type="text/css" />

<div class="listHeader">
        <img src="../../Images/ListImages/userlist.png" alt="" class="listHeaderIco" />
        <div class="listHeaderText">Siparişler</div>        
        <div class="listHeaderMenuBox">
            <% Html.RenderPartial("/views/shared/userControls/Navigation.ascx",
                  Prodma.DataAccess.Authorization.Authorization.GetNavigation("urunler", 3));%>
        </div>
    </div>

<form id="productDetail"  method="Post" action="">
<% Html.RenderPartial("/views/shared/userControls/ProductDetail.ascx",ViewData.Model);%>
</form>


<script type="text/javascript" src="../../Scripts/ddpowerzoomer.js">

</script>

<script type="text/javascript">

    jQuery(document).ready(function ($) { //fire on DOM ready

        $('#foto').addpowerzoom(
        {
            magnifiersize: [200, 200]
        })
        /*
        EXAMPLE 1:
        $('#myimage').addpowerzoom()

        EXAMPLE 2:
        $('img.vacation').addpowerzoom({
        defaultpower: 2,
        powerrange: [2,5],
        largeimage: null,
        magnifiersize: [100,100] //<--no comma following last option!
        })
        */

    })

    function formSubmit(id) {
        var form = document.getElementById('productDetail')
        form.action = '/Sepet/AddChartSingle/' + id
        form.submit();
    }

</script>
</asp:Content>